github.com/google/go-cmp/cmp.transformer.fnc (field)
8 uses
github.com/google/go-cmp/cmp (current package)
compare.go#L620: tf := t.(*transformer).fnc.Type()
options.go#L290: tr := &transformer{name: name, fnc: reflect.ValueOf(f)}
options.go#L301: fnc reflect.Value // func(T) R
options.go#L321: step := Transform{&transform{pathStep{typ: tr.fnc.Type().Out(0)}, tr}}
options.go#L322: vvx := s.callTRFunc(tr.fnc, vx, step)
options.go#L323: vvy := s.callTRFunc(tr.fnc, vy, step)
options.go#L329: return fmt.Sprintf("Transformer(%s, %s)", tr.name, function.NameOf(tr.fnc))
path.go#L304: func (tf Transform) Func() reflect.Value { return tf.trans.fnc }
The pages are generated with Golds v0.4.9. (GOOS=linux GOARCH=amd64)